package com.jhgsys.internal.hazard.service;

import com.jhgsys.internal.hazard.entity.HazardExamineDtlConfig;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author Lujiachen
 * @date 2024-08-13 08:57:26
 */
public interface IHazardExamineDtlConfigService extends IService<HazardExamineDtlConfig> {
    /**
     * 查询（分页）
     * @author Lujiachen
     * @date 2024-08-13 08:57:26
     * @param request QueryRequest
     * @param hazardExamineDtlConfig hazardExamineDtlConfig
     * @return IPage<HazardExamineDtlConfig>
     */
    IPage<HazardExamineDtlConfig> findHazardExamineDtlConfigPage(QueryRequest request, HazardExamineDtlConfig hazardExamineDtlConfig);

    /**
     * 查询（所有）
     * @author Lujiachen
     * @date 2024-08-13 08:57:26
     * @param hazardExamineDtlConfig hazardExamineDtlConfig
     * @return List<HazardExamineDtlConfig>
     */
    List<HazardExamineDtlConfig> findHazardExamineDtlConfigList(HazardExamineDtlConfig hazardExamineDtlConfig);

    /**
    * 根据ID查询
    * @author Lujiachen
    * @date 2024-08-13 08:57:26
    * @param id
    * @return HazardExamineDtlConfig
    */
    HazardExamineDtlConfig findHazardExamineDtlConfigById(String id);

    /**
     * 新增
     * @author Lujiachen
     * @date 2024-08-13 08:57:26
     * @param hazardExamineDtlConfig hazardExamineDtlConfig
     */
    void createHazardExamineDtlConfig(HazardExamineDtlConfig hazardExamineDtlConfig);

    /**
     * 修改
     * @author Lujiachen
     * @date 2024-08-13 08:57:26
     * @param hazardExamineDtlConfig hazardExamineDtlConfig
     */
    void updateHazardExamineDtlConfig(HazardExamineDtlConfig hazardExamineDtlConfig);

    /**
     * 逻辑删除
     * @author Lujiachen
     * @date 2024-08-13 08:57:26
     * @param hazardExamineDtlConfig hazardExamineDtlConfig
     * @param hazardExamineDtlConfigIds hazardExamineDtlConfigIds
     */
    void deleteHazardExamineDtlConfig(HazardExamineDtlConfig hazardExamineDtlConfig,String hazardExamineDtlConfigIds);

    /**
    * 物理删除
    * @author Lujiachen
    * @date 2024-08-13 08:57:26
    * @param hazardExamineDtlConfigIds hazardExamineDtlConfigIds
    */
    void physicallyDeleteHazardExamineDtlConfig(String hazardExamineDtlConfigIds);

    /**
     * 查询（根据examineConfigId）
     * @author Lujiachen
     * @date 2024-08-13 08:57:26
     * @param hazardExamineDtlConfig hazardExamineDtlConfig
     * @return List<HazardExamineDtlConfig>
     */
    List<HazardExamineDtlConfig> findHazardExamineDtlConfigListByExamineConfigId(HazardExamineDtlConfig hazardExamineDtlConfig);
}
